package com.liao.badminton.service;

import com.liao.badminton.code.*;
import com.liao.badminton.dto.StipulationLevelAddsDto;
import com.liao.badminton.entity.StipulationLevel;
import com.liao.badminton.dto.StipulationLevelDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author liaocheng
* @date 2024-11-08
* description:等级划分规则表
*/
public interface StipulationLevelService extends IService<StipulationLevel>{
	/**
     * 新增
     */
	 ResponseRest saveStipulationLevel(List<StipulationLevelAddsDto> param)throws ProjectException;
	/**
     * 修改
     */
	 ResponseRest updateStipulationLevel(StipulationLevelDto param)throws ProjectException;
	/**
     * 查询列表
     */
	 ResponseRest findStipulationLevelByPageParam(PageParam<StipulationLevelDto> PageParam)throws ProjectException;

    ResponseRest findListByParam(StipulationLevelDto param) throws ProjectException;

    /**
    * 查询详情
    */
    ResponseRest findDetail(StipulationLevelDto param)throws ProjectException;
	/**
     * 删除
     */
	 ResponseRest deletesStipulationLevel(StipulationLevelDto param)throws ProjectException;
}
